-- INSERT INTO dbo.t_IdentityControl(DbName, TblName, LastId) VALUES('common', 't_ReleaseObjects', 100)
-- source control
--	akokush		06/08/2000	created
use common
go

if exists(select 1 from sysobjects where name="t_IdentityControl")
	drop table t_IdentityControl
go

create table t_IdentityControl
(
	DbName		varchar(40),	-- name of database where table resides.
	TblName		varchar(40),	-- name of table to generate id for
	LastId		int		-- last used id
)
lock datarows
go

grant select on t_IdentityControl to public
go
